<#include "/layout/header.ftl" />
<#import "/include/ui.ftl" as blue />

<script>

$(function()
{
	
});

function search_click()
{
	var obj = $.getObject("#div_search");
	$("#div_grid").simpleLoad("/cms/doc_file_list", obj, 1);
}

</script>

<div class="am-g am-cf am-margin-top am-margin-bottom">
	<div class="am-u-sm-3 am-padding-right-0">
	</div>
	<div class="am-u-sm-9 am-form-inline" id="div_search">
		<div class="am-form-group">
			<select name="webId" data-am-selected="{'btnWidth': '200px'}">
				<@blue.select list=webList search=1 placeholder="选择网站" />
			</select>
		</div>

		<div class="am-form-group">
			<select name="type" data-am-selected="{'btnWidth': '120px'}">
				<@blue.select list=map.uploadType search=1 placeholder="选择类型" />
			</select>
		</div>

		<div class="am-form-group">
			<select name="pos" data-am-selected="{'btnWidth': '120px'}">
				<@blue.select list=map.uploadPos search=1 placeholder="选择位置" />
			</select>
		</div>

		<a href="javascript:void(0)" onclick="search_click()" class="am-btn am-btn-primary am-radius">搜索</a>
	</div>
</div>

<div class="am-g" id="div_grid">
	<#include "/cms/doc_file_list_grid.ftl" />
</div>

<#include "/layout/footer.ftl" />